package com.yhsoft.flim.controller.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class DYOrderOutVo {
    /**
     * 订单状态
     */
    @ApiModelProperty("订单状态 0-已完成 1-待支付 2-待发货 3-待收货 4-已取消 5-支付中 6-支付失败 7-已退款")
    private Integer orderStatus;

    @ApiModelProperty(value = "下单日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty(value = "金额")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "福利卡支付金额")
    private BigDecimal cardPrice;

    @ApiModelProperty(value = "现金支付金额")
    private BigDecimal payablePrice;

    @ApiModelProperty(value = "影片信息")
    private String flimInfo;

    @ApiModelProperty(value = "海报,影片等资源API")
    private String poster;

    /**
     * 支付方式
     */
    @ApiModelProperty("支付方式  1-福利卡支付 2-微信支付 3-混合支付")
    private String payMethod;

    /**
     * 取票码
     */
    @ApiModelProperty("取票码")
    private String flimTicketInfo;

    /**
     * 订单类型，SP-普通商品，DY-电影票
     */
    @ApiModelProperty("订单类型，SP-普通商品，DY-电影票")
    private String orderType;

}
